package br.usp.icmc.biomac.client.view.lixo;


import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;

public class AnnotationTab extends Composite {

	private static AnnotationTabUiBinder uiBinder = GWT
			.create(AnnotationTabUiBinder.class);
	@UiField Label annotationName;
	@UiField Label serieValue;
	@UiField Label roi;
	@UiField Label studyDate;
	@UiField VerticalPanel componentsPanel;
	@UiField ListBox templates;


	interface AnnotationTabUiBinder extends UiBinder<Widget, AnnotationTab> {
	}

	public AnnotationTab() {
		initWidget(uiBinder.createAndBindUi(this));
		templates.addItem("Item 1", "Value 1");
		templates.addItem("Item 2", "Value 2");
		templates.addItem("Item 3", "Value 3");
		templates.addItem("Item 4", "Value 4");
	}
	public void addComponent(){
		componentsPanel.add(new Label("1"));
		
	}
	public ListBox getTemplates(){
		return templates;
	}

}
